package jok.singleton;

public class TestSingleton {
	public static void main(String[] args) {
		{
			Singleton single = Singleton.getInstance();
			Singleton single2 = Singleton.getInstance();

			System.out.println(single);
			System.out.println(single2);
		}
		{
			Singleton2 single = Singleton2.getInstance();
			Singleton2 single2 = Singleton2.getInstance();

			System.out.println(single);
			System.out.println(single2);
		}
	}
}
